@@if( page! !=null && page.pages! >1 ){
<nav>
    <ul class="pager page-btn" data-url="${config.siteUrl!}/${url!}" data-search="${(model.keywords! == null || model.keywords! == '')?'false':'true'}">

        @@if( page.hasPreviousPage! ==true ){
        <li><a class="pointer" data-page="${page.prePage!}"><i class="fa fa-angle-double-left"></i></a></li>
        @@}

        @@for(var item=1;item<(page.pages+1);item++){
        <li><a
                @@if((page.pageNum! == item)){
                class="pointer active"
                @@}else{
                class="pointer"
                @@}
                data-page="${item!}")}>${item!}</a></li>
        @@}

        @@if( page.hasNextPage! ==true ){
        <li><a class="pointer" data-page="${page.nextPage!}"><i class="fa fa-angle-double-left"></i></a></li>
        @@}

    </ul>
</nav>
@@}